package com.ruoyi.merchant.domain;

import com.ruoyi.common.core.domain.Shop;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 服务详情对象 service_details
 * 
 * @author zhk
 * @date 2024-09-10
 */
public class ServiceDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 服务项目名 */
    @Excel(name = "服务项目名")
    private String name;

    /** 商户id  */
    @Excel(name = "商户id ")
    private Long mId;

    /** 服务类别id */
    @Excel(name = "服务类别id")
    private Long typeId;

    /** 原价 */
    @Excel(name = "原价")
    private Long originalPrice;

    /** 折扣价 */
    @Excel(name = "折扣价")
    private Long presentPrice;

    /** 服务介绍 */
    @Excel(name = "服务介绍")
    private String introduction;

    /** 服务图片 */
    @Excel(name = "服务图片")
    private String img;

    /** 删除状态（0:未删除, 1:已删除） */
    @Excel(name = "删除状态", readConverterExp = "0=:未删除,,1=:已删除")
    private Long deleted;


    //    一对一映射,服务类型
    private ServiceType serviceType;

    //    一对一映射,商户名字
    private Shop shop;


    public ServiceType getServiceType() {
        return serviceType;
    }

    public void setServiceType(ServiceType serviceType) {
        this.serviceType = serviceType;
    }

    public Shop getShop() {
        return shop;
    }

    public void setShop(Shop shop) {
        this.shop = shop;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setmId(Long mId) 
    {
        this.mId = mId;
    }

    public Long getmId() 
    {
        return mId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setOriginalPrice(Long originalPrice) 
    {
        this.originalPrice = originalPrice;
    }

    public Long getOriginalPrice() 
    {
        return originalPrice;
    }
    public void setPresentPrice(Long presentPrice) 
    {
        this.presentPrice = presentPrice;
    }

    public Long getPresentPrice() 
    {
        return presentPrice;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }
    public void setDeleted(Long deleted) 
    {
        this.deleted = deleted;
    }

    public Long getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return "ServiceDetails{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", mId=" + mId +
                ", typeId=" + typeId +
                ", originalPrice=" + originalPrice +
                ", presentPrice=" + presentPrice +
                ", introduction='" + introduction + '\'' +
                ", img='" + img + '\'' +
                ", deleted=" + deleted +
                ", serviceType=" + serviceType +
                ", shop=" + shop +
                '}';
    }
}
